package com.demofreemarker.serviceImpl;
import com.demofreemarker.dao.DemoMapper;
import com.demofreemarker.dto.Company;
import com.demofreemarker.service.DemoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service("DemoService")
public class DemoServiceImpl implements DemoService {

    @Resource
    private DemoMapper demoMapper;

    @Override
    public Company findById(Integer id) {
        return demoMapper.findById(id);
    }

}
